export default {
    namespaced: true,
    state: {
        // 用来控制登录状态的显示或隐藏
        islogined: localStorage.getItem("x-auth-token") ? true : false,

    },
    mutations: {
        // 修改islogined的值
        chanIslogined(state,payload) {
            state.islogined=payload
        },

    },
    actions: {
    },
}
